package git.soulbgm.common.annotation;

import git.soulbgm.config.RemoteMethodScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author 贺瑞杰
 * @version V1.0
 * @date 2019-04-02 11:00
 * @description 标注为这个注解的接口通过远程方法进行调用
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(RemoteMethodScannerRegistrar.class)
public @interface RemoteProcedureCall {

    String[] basePackages() default {};
}
